<?php
$data=$HTTP_RAW_POST_DATA;
$filename = "../temp/tmp.svg";
$myFile = fopen($filename, "w+");  
fputs($myFile, $data);
fclose($myFile);

echo "Your svg is on disk with ".$filename." as name";
?>
